<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script type="text/javascript" src="<%=basePath%>js/jquery-2.1.0.min.js"></script>
<script type="text/javascript" src="<%=basePath%>js/vue.min.js"></script>
<link rel="stylesheet" href="<%=basePath%>css/layui/css/layui.css">
<script type="text/javascript"
	src="<%=basePath%>js/stockManage/showOutStockApply.js"></script>
<script type="text/javascript" src="<%=basePath%>js/BaseUtile.js"></script>


<title>显示出库申请</title>
</head>
<body style="margin: 3%">
	<div style="text-align: center;font-size: 30px">
		<label>待审核的出库申请</label>
	</div>

	<div>
		<button id="editOutStockApplyButton" class="layui-btn layui-btn-danger" >新增出库申请</button>
	</div>
	<div style="margin-top: 3%;">
		<div></div>
		<div id="outStockListDiv">
			<table class="layui-table">
				<thead>
					<tr>
						<th>序号</th>
						<th>订单号</th>
						<th>提交人</th>
						<th>提交时间</th>
						<th>操作</th>
					</tr>
				</thead>
				<tr v-for="(item ,index) in items">
					<th>{{index+1}}</th>
					<th>{{item.stockApplyId}}</th>
					<th>{{item.createBy.nickname}}</th>
					<th>{{item.createTime}}</th>
					<th><button v-on:click="show(item)" class="layui-btn layui-btn-sm">审核</button>
						<button v-on:click="deleteIt(item)" class="layui-btn layui-btn-sm">删除</button></th>
				</tr>
			</table>
		</div>



	</div>



	<script type="text/javascript" src="<%=basePath%>css/layui/layui.js"></script>
	<script>
		layui.use('form', function() {

		});
	</script>
</body>
</html>